import React from 'react'
import ReactDOM from 'react-dom'

// import TodoList  from './TodoList'
// ReactDOM.render(<TodoList />, document.getElementById('root'))

// 无状态组件
// import TodoListStateless  from './TodoList-stateless'
// ReactDOM.render(<TodoListStateless />, document.getElementById('root'))

// axios 请求
import TodoListAxios  from './TodoList-axios'
ReactDOM.render(<TodoListAxios />, document.getElementById('root'))